<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8"/>
    <title>厅干部平时考核管理系统</title>
    <link rel="stylesheet" type="text/css" href="<c:url value='/resource/jxkh/css/main.css'/>"/>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/jquery-1.11.0.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/jquery.form.js'/>"></script>
    <!--弹出框-->
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/layer/layer.js'/>" ></script>
    <script>
        function submitForm() {
            //top.mask();
            $("#submit_form").ajaxSubmit({
                type: "post",
                dataType: "json",
                success: function (data) {
                    if (data.data.status == 1) {
                        parent.$('#boot_table').bootstrapTable('refresh');
                        parent.showMessage("操作成功！");
                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
                        parent.layer.close(index);
                    } else {
                        parent.showMessage(data.data.body);
                    }
                },
                error: function () {
                    parent.showMessage("失败！");
                }
            });
        }
        function showMessage(content) {
            layer.open({
                title: '信息'
                , content: content
            });
        }
    </script>
</head>
<body>
<div class="njga" style="overflow: auto;">
    <form action="<c:url value='/personnel/editPersonnelInfo.json'/>" method="post" id="submit_form">
        姓名：${sysUser.name}<br>
        <input type="hidden" value="${sysUser.dbid}" name="dbid">
        警号：<input value="${sysUser.policeNum}" name="policeNum"/><br>
        现任职务：<input value="${sysUser.dutyName}" name="dutyName"/><br>
        现任级别：<input value="${sysUser.dutyLevel}" name="dutyLevel"/><br>
        手机号：<input value="${sysUser.tel_mobile}" name="tel_mobile"/><br>
    </form>
</div>

</body>

